#include "vl_props.h"

using namespace VL;

int main(const int argc, const char ** argv) {
	VLProp mapProp1 = vMap({"a", 1}, {"b", 1.5});
	if(!mapProp1["a"].isNode()) {
		return 1;
	}
	if(!mapProp1["b"].isNode()) {
		return 2;
	}
	if(mapProp1["a"].getValueType() != VLPropValueType::Int) {
		return 3;
	}
	if(mapProp1["b"].getValueType() != VLPropValueType::Double) {
		return 4;
	}
	mapProp1["a"] = "1";
	if(mapProp1["a"].getValueType() != VLPropValueType::String) {
		return 5;
	}
	return 0;
}